package com.example.common.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@Table(name = "sys_role_modules")
public class RoleModules implements Serializable {

	private static final long serialVersionUID = 3085664813644666835L;
	@Id
	@Column(name = "id_bigint", columnDefinition = "bigint(20)")
	private Long id;
	@Column(name = "rid_bigint", columnDefinition = "bigint(20)")
	private Long rid;
	@Column(name = "mid_bigint", columnDefinition = "bigint(20)")
	private Long mid;
}
